<?php
	include_once("../include/init.php");
	$_SESSION = [];
	session_destroy();
	if(isset($_SESSION['user'])){
		msg('退出失败');

	}else{
		header("location:index.php");
	}
?>